package com.hhc.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 *   系统配置数据传输对象
 * </p>
 * @author pc
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SystemConfigDTO {

    private Long configId;

    @NotBlank(message = "配置键名不能为空")
    @Size(max = 100, message = "配置键名长度不能超过100")
    private String configKey;

    private String configValue;

    private String description;
}